<!-- 样式权重比较 -->

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <style>
      .title {
        color: red;
      }
      h1 {
        color: green;
        font-family: "Roboto-Black";
      }
    </style>
    <link rel="stylesheet" href="../css/weight-page.css" />
  </head>
  <body>
    <h1 class="title" style="color: blue" id="myh1">this is h1</h1>
    <h1 class="title" id="myh1">this is h1</h1>
  </body>
</html>
